﻿using DJY.Code;
using DJY.Domain.Entity.SystemManage;
using DJY.Domain.ViewModel;
using System;
using System.Collections.Generic;

namespace DJY.Service.SystemManage
{
    /// <summary>
    /// 系统组织单位
    /// </summary>
    public interface ISysOrganizeService : IDependency
    {
        /// <summary>
        /// 获取单位所有部门
        /// </summary>
        /// <param name="orgId">单位ID</param>
        /// <param name="enabled">是否可用</param>
        /// <returns></returns>
        List<SysOrganizeEntity> GetDepartmentList(string orgId, bool? enabled);
    }
    
}
